﻿using System;
using System.Collections.Generic;
using Model.AuthModel;
namespace IDAL.AuthModel
{
    /// <summary>
    /// 通用组件，权限模型，接口层，成员操作记录
    /// </summary>
    public interface IStaffAccess
    {
        /// <summary>
        /// 添加操作记录
        /// </summary>
        /// <param name="info"></param>
        /// <returns></returns>
        bool InsertStaffAccess(StaffAccessInfo info);

        /// <summary>
        /// 操作记录分页列表
        /// </summary>
        /// <param name="condition"></param>
        /// <param name="recordCount"></param>
        /// <returns></returns>
        IList<StaffAccessInfo> ListStaffAccess(StaffAccessCondition condition, out int recordCount);
    }
}
